import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import { Toast } from 'vant';
// import '@vant/touch-emulator';
// import 'vant/lib/index.css'; // 首先加载 Vant 默认样式
// import '../src/vant-rewrite.scss'; // 然后加载自定义样式
import router from "./router";
import App from './App.vue'
import { TextEllipsis } from 'vant';
import { ConfigProvider } from 'vant';
const pinia = createPinia()

createApp(App)
    .use(ConfigProvider)
    .use(router)
    .use(TextEllipsis)
    .use(pinia)
    .use(Toast)
    .mount('#app')
